﻿@using BemEstarEmprego.Entities
<div style="margin: 20px;">
	Total de Candidatos: <strong>
		@ViewData["totalVaga"]</strong>
	<div style="background: #C6C8CF; padding: 10px 10px; -moz-border-radius: 12px; border-radius: 12px;">
		<div style="background: #C3CBE6;">
			<table class="table table-hover">
				<tbody>
					<tr>
						<th>
							ID
						</th>
						<th>
							Descrição
						</th>
						<th>
							Salário
						</th>
						<th>
							Turno
						</th>
					</tr>
					@foreach (vaga item in (List<vaga>)ViewData["vagas"])
	 {
						<tr>
							<td>
								@Html.ActionLink(item.ID.ToString(), "Editar" + "/" + item.ID.ToString())
							</td>
							<td>
								@item.DESCRICAO
							</td>
							<td>
								@item.SALARIO
							</td>
							<td>
								@item.TURNO
							</td>
						</tr>
	 }
				</tbody>
			</table>
		</div>
		<br />
		<strong>
			@if ((string)ViewData["pageLinks"] != "")
   { @Html.Raw(ViewBag.Links) }
		</strong>
	</div>
	<br />
</div>
